package com.ruoyi.system.basicInformation.domain;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
public class Annotations implements Serializable {

    /**
     * metric : bdgfnew
     * tags : {"terminalId":"NOTM005"}
     * aggregateTags : []
     * tsuids : ["00000100000100000E"]
     * annotations : [{"tsuid":"00000100000100000E","description":"","notes":"","custom":{"vSpeed":"60","vehicleNo":"船只001","vLon":"125.5638200000","vTime":"21/05/28 08:00:01","smallCategory":"北斗通导一体船载终端","terminalId":"NOTM005","simNo":"013112345678","bigCategory":"船载型","vLat":"49.0965910000"},"startTime":1622160001,"endTime":0},{"tsuid":"00000100000100000E","description":"","notes":"","custom":{"vSpeed":"72","vehicleNo":"船只001","vLon":"125564423","vTime":"21/05/28 14:27:48","smallCategory":"北斗通导一体船载终端","terminalId":"NOTM005","simNo":"013112345678","bigCategory":"船载型","vLat":"49098776"},"startTime":1622183268,"endTime":0}]
     * dps : {"1622160001":60}
     */

    private String metric;
    private TagsBean tags;
    private DpsBean dps;
    private List<?> aggregateTags;
    private List<String> tsuids;
    private List<AnnotationsBean> annotations;

    public String getMetric() {
        return metric;
    }

    public void setMetric(String metric) {
        this.metric = metric;
    }

    public TagsBean getTags() {
        return tags;
    }

    public void setTags(TagsBean tags) {
        this.tags = tags;
    }

    public DpsBean getDps() {
        return dps;
    }

    public void setDps(DpsBean dps) {
        this.dps = dps;
    }

    public List<?> getAggregateTags() {
        return aggregateTags;
    }

    public void setAggregateTags(List<?> aggregateTags) {
        this.aggregateTags = aggregateTags;
    }

    public List<String> getTsuids() {
        return tsuids;
    }

    public void setTsuids(List<String> tsuids) {
        this.tsuids = tsuids;
    }

    public List<AnnotationsBean> getAnnotations() {
        return annotations;
    }

    public void setAnnotations(List<AnnotationsBean> annotations) {
        this.annotations = annotations;
    }

    public static class TagsBean {
        /**
         * terminalId : NOTM005
         */

        private String terminalId;

        public String getTerminalId() {
            return terminalId;
        }

        public void setTerminalId(String terminalId) {
            this.terminalId = terminalId;
        }
    }

    public static class DpsBean {
        /**
         * 1622160001 : 60
         */

        @SerializedName("1622160001")
        private int _$1622160001;

        public int get_$1622160001() {
            return _$1622160001;
        }

        public void set_$1622160001(int _$1622160001) {
            this._$1622160001 = _$1622160001;
        }
    }

    public static class AnnotationsBean {
        /**
         * tsuid : 00000100000100000E
         * description :
         * notes :
         * custom : {"vSpeed":"60","vehicleNo":"船只001","vLon":"125.5638200000","vTime":"21/05/28 08:00:01","smallCategory":"北斗通导一体船载终端","terminalId":"NOTM005","simNo":"013112345678","bigCategory":"船载型","vLat":"49.0965910000"}
         * startTime : 1622160001
         * endTime : 0
         */

        private String tsuid;
        private String description;
        private String notes;
        private CustomBean custom;
        private int startTime;
        private int endTime;

        public String getTsuid() {
            return tsuid;
        }

        public void setTsuid(String tsuid) {
            this.tsuid = tsuid;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getNotes() {
            return notes;
        }

        public void setNotes(String notes) {
            this.notes = notes;
        }

        public CustomBean getCustom() {
            return custom;
        }

        public void setCustom(CustomBean custom) {
            this.custom = custom;
        }

        public int getStartTime() {
            return startTime;
        }

        public void setStartTime(int startTime) {
            this.startTime = startTime;
        }

        public int getEndTime() {
            return endTime;
        }

        public void setEndTime(int endTime) {
            this.endTime = endTime;
        }

        public static class CustomBean {
            /**
             * vSpeed : 60
             * vehicleNo : 船只001
             * vLon : 125.5638200000
             * vTime : 21/05/28 08:00:01
             * smallCategory : 北斗通导一体船载终端
             * terminalId : NOTM005
             * simNo : 013112345678
             * bigCategory : 船载型
             * vLat : 49.0965910000
             */

            private String vSpeed;
            private String vehicleNo;
            private String vLon;
            private String vTime;
            private String smallCategory;
            private String terminalId;
            private String simNo;
            private String bigCategory;
            private String vLat;

            public String getVSpeed() {
                return vSpeed;
            }

            public void setVSpeed(String vSpeed) {
                this.vSpeed = vSpeed;
            }

            public String getVehicleNo() {
                return vehicleNo;
            }

            public void setVehicleNo(String vehicleNo) {
                this.vehicleNo = vehicleNo;
            }

            public String getVLon() {
                return vLon;
            }

            public void setVLon(String vLon) {
                this.vLon = vLon;
            }

            public String getVTime() {
                return vTime;
            }

            public void setVTime(String vTime) {
                this.vTime = vTime;
            }

            public String getSmallCategory() {
                return smallCategory;
            }

            public void setSmallCategory(String smallCategory) {
                this.smallCategory = smallCategory;
            }

            public String getTerminalId() {
                return terminalId;
            }

            public void setTerminalId(String terminalId) {
                this.terminalId = terminalId;
            }

            public String getSimNo() {
                return simNo;
            }

            public void setSimNo(String simNo) {
                this.simNo = simNo;
            }

            public String getBigCategory() {
                return bigCategory;
            }

            public void setBigCategory(String bigCategory) {
                this.bigCategory = bigCategory;
            }

            public String getVLat() {
                return vLat;
            }

            public void setVLat(String vLat) {
                this.vLat = vLat;
            }
        }
    }
}
